rn_auto_create_self_signed_for_ip.sh

(/opt/GoIoT/DinGo/bin/ssl/rn_auto_create_self_signed_for_ip.sh)

This is a script file, installed with the DINGO-Stack package.

The purpose of this script is to create a HTTPS certificate for the IP of the DINGO device and possible additional IP's and hostnames.

The steps this script takes:

  1. Create a private key (dingoserverIP.key) and a certificate signing request (dingoserverIP.csr) for the IP of the DINGO device.
  2. Add the IP and hostname of the DINGO device to openssl.cnf.
  3. Sign the CSR with the root CA key (DinGoCA.key) and certificate (DinGoCA.pem), and create the HTTPS certificate (dingoserverIP.crt) for the IP's and hostnames in openssl.cnf.

This script is execute at boot time within /etc/rc.local.